﻿using BoutiquePOS.DAL.DAO;
using BoutiquePOS.DAL.Gateway;

namespace BoutiquePOS.Manager
{
    public class SupplierPaymentManager
    {
        SupplierPaymentGateway aSupplierPaymentGateway = new SupplierPaymentGateway();
        public string SaveSupplierPayment(SupplierPayment supplierPayment)
        {
            return aSupplierPaymentGateway.SaveSupplierPayment(supplierPayment);
        }

        public string DeleteSupplierPayment(int supplierPaymentId)
        {
            string message = aSupplierPaymentGateway.DeleteSupplierPaymentByPurchaseNo(supplierPaymentId);
            return message;
        }
    }
}